package com.ddstation.crud.mapper;

import com.ddstation.app.appeal.model.AppAppealModel;
import com.ddstation.crud.entity.DtInvsIllegalAppealEntity;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface DtInvsIllegalAppealMapper {

    int updateByPrimaryKeySelective(DtInvsIllegalAppealEntity record);
    List<AppAppealModel> queryAppealList(@Param("institutionId") String institutionId, @Param("appealSt") Integer appealSt, @Param("startTime") Date startTime);

    int insertReplace(DtInvsIllegalAppealEntity record);

    int insertByList(List<DtInvsIllegalAppealEntity> list);

    public int updateIllegalAppealStatus(
            @Param("illegalIds") List<String> illegalIds);
}